<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <style>
    div{
        display: none;
    }

    #item1:checked~.content1{
        display: block;
    }

    #item2:checked~.content2{
        display: block;
    }
    input{
            display: none;
        }
    
    </style>
    <label for="item1">111</label>
    <label for="item2">2222</label>

    <input type="radio" name="item" id="item1" checked>
    <input type="radio" name="item" id="item2">

    <div class="content1">content1</div>
    <div class="content2">content2</div>
</body>
</html>